






//
//  UserProtocolViewController.m
//  fitness-iOS
//
//  Created by 卢仕彤 on 2018/1/2.
//  Copyright © 2018年 卢仕彤. All rights reserved.
//

#import "UserProtocolViewController.h"

@interface UserProtocolViewController ()

@end

@implementation UserProtocolViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"用户协议";
    UIWebView * web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, Main_Screen_Width, Main_Screen_Height-64)];
    [self.view addSubview:web];
    
    NSString *path = [[NSBundle mainBundle] pathForResource:@"clause.html" ofType:nil];
    NSURL *url = [NSURL fileURLWithPath:path];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [web loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
